package com.shop.front.request.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotBlank;

@ApiModel("用户登录请求参数")
@Data
public class UserLoginReq {

    @ApiModelProperty(value = "手机号", required = true)
    @NotBlank(message = "手机号不能为空")
    private String mobile;

    @ApiModelProperty(value = "密码")
    private String pwd;

    @ApiModelProperty(value = "短信验证码")
    private String smsCode;

    @ApiModelProperty(hidden = true)
    private String realPwd;

    @ApiModelProperty("用户IP")
    private String userIp;

}
